package com.college.heyuhua.model;

import java.io.Serializable;

/**
 * Created by 赵东坡 on 2019/1/27.
 * Time:18:37
 * 宇宙无敌赵牛逼，祈求永无bug
 */
public class FileModel implements Serializable{

    private int fid;

    private String filename;

    private String fileshort;

    private String filetype;

    private int authority;

    private int downloadcount;

    private long uid;

    private int upordown;

    private String fileurl;

    public FileModel() {
    }

    public int getFid() {
        return fid;
    }

    public void setFid(int fid) {
        this.fid = fid;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getFileshort() {
        return fileshort;
    }

    public void setFileshort(String fileshort) {
        this.fileshort = fileshort;
    }

    public String getFiletype() {
        return filetype;
    }

    public void setFiletype(String filetype) {
        this.filetype = filetype;
    }

    public int getAuthority() {
        return authority;
    }

    public void setAuthority(int authority) {
        this.authority = authority;
    }

    public int getDownloadcount() {
        return downloadcount;
    }

    public void setDownloadcount(int downloadcount) {
        this.downloadcount = downloadcount;
    }

    public long getUid() {
        return uid;
    }

    public void setUid(long uid) {
        this.uid = uid;
    }

    public int getUpordown() {
        return upordown;
    }

    public void setUpordown(int upordown) {
        this.upordown = upordown;
    }

    public String getFileurl() {
        return fileurl;
    }

    public void setFileurl(String fileurl) {
        this.fileurl = fileurl;
    }

    public FileModel(int fid, String filename, String fileshort, String filetype, int authority, int downloadcount, long uid, int upordown, String fileurl) {
        this.fid = fid;
        this.filename = filename;
        this.fileshort = fileshort;
        this.filetype = filetype;
        this.authority = authority;
        this.downloadcount = downloadcount;
        this.uid = uid;
        this.upordown = upordown;
        this.fileurl = fileurl;
    }

    @Override
    public String toString() {
        return "FileModel{" +
                "fid=" + fid +
                ", filename='" + filename + '\'' +
                ", fileshort='" + fileshort + '\'' +
                ", filetype='" + filetype + '\'' +
                ", authority=" + authority +
                ", downloadcount=" + downloadcount +
                ", uid=" + uid +
                ", upordown=" + upordown +
                ", fileurl='" + fileurl + '\'' +
                '}';
    }
}
